﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.Runtime.Validation;
using MPICore.Dto;

namespace MPICore.PhoneBook.Dtos
{
    public class GetPersonInput : PageAndSortedInputDto, IShouldNormalize
    {
        public string FilteText { set; get; }

        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "Id";
            }
        }
    }
}
